package com.learn.project2.mapper;

import com.learn.project2.bean.MarketSystem;
import com.learn.project2.bean.MarketSystemExample;

import java.util.List;

import com.learn.project2.model.vo.admin.config.ConfigMallVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface MarketSystemMapper {
    String selectValueByName(String name);

    long countByExample(MarketSystemExample example);

    int deleteByExample(MarketSystemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketSystem record);

    int insertSelective(MarketSystem record);

    List<MarketSystem> selectByExample(MarketSystemExample example);

    MarketSystem selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketSystem record, @Param("example") MarketSystemExample example);

    int updateByExample(@Param("record") MarketSystem record, @Param("example") MarketSystemExample example);

    int updateByPrimaryKeySelective(MarketSystem record);

    int updateByPrimaryKey(MarketSystem record);

    void updateValueById(@Param("id") Integer id, @Param("value") String value);

    String selectValueById(@Param("id") Integer id);
}